package day06;

import java.util.Random;
import java.util.Scanner;

public class Normal3 {
    public static void main(String[] args) {
        int num=new Random().nextInt(200);
        while (1==1) {
            System.out.println("猜");
            int guess=new Scanner(System.in).nextInt();
            if (num>guess){
                System.out.println("小了");
            }else if (num<guess){
                System.out.println("大了");
            }else {
                System.out.println("对了"+num);
                break;
            }
        }
    }
}
